package com.duobaoyu.dby.supply.biz.service.refund.event;

import com.duobaoyu.dby.supply.common.biz.bo.refund.AfterSaleStateContext;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by shuming on 2023/10/17 16:17
 * 售后状态变更事件
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AfterSaleStateChangeEvent {

    /**
     * 售后单号
     */
    private String afterSaleSn;

    /**
     * 售后类型
     */
    private Integer afterSaleType;
    /**
     * 订单号
     */
    private String orderSn;

    /**
     * 售后状态
     */
    private Integer afterSaleStatus;

    /**
     * 订单自动取消
     */
    private Boolean orderAutoCancel;

    /**
     * 退款成功
     */
    private Boolean refundSuccess;

	/**
	 * 上下文
	 */
	private AfterSaleStateContext context;
}
